﻿CREATE TABLE [MaintenanceService].[ExecutedTask] (
    [TaskId]       UNIQUEIDENTIFIER NOT NULL,
    [DateAdded]    DATETIME         NOT NULL,
    [TaskInfoId]   UNIQUEIDENTIFIER NOT NULL,
    [DateStarted]  DATETIME         NOT NULL,
    [Data]         NVARCHAR (MAX)   NOT NULL,
    [Info]         NVARCHAR (MAX)   NULL,
    [Retries]      INT              NOT NULL,
    [DateExecuted] DATETIME         NOT NULL
);

